package com.hopu.oa.service.impl.management;


import com.hopu.oa.dao.management.MonthManageDao;
import com.hopu.oa.entity.management.AoaAttendsList;
import com.hopu.oa.entity.user.AoaUser;
import com.hopu.oa.service.management.MonthManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MonthManageServiceImp implements MonthManageService {
    @Autowired
    private MonthManageDao manageDao;

    @Override
    public List<AoaUser> selectListsByFatherId(int uid, String starttime, String endtime, String seachName, int index, int size) {
        return manageDao.selectListsByFatherId(uid, starttime, endtime, seachName, index, size);
    }

    @Override
    public List<AoaAttendsList> selectWeekByuid(int uid, String starttime, String endtime) {
        return manageDao.selectWeekByuid(uid, starttime, endtime);
    }

    @Override
    public List<Map> selectMonthByuid(int uid, String month) {
        return manageDao.selectMonthByuid(uid, month);
    }
}
